An AIFF-C file contains an extended Common Chunk that includes all of the fields of the Common Chunk, but adds two fields that describe the type of compression (if any) used on the audio data. The ExtCommonChunk data type defines an extended Common Chunk.
TYPE ExtCommonChunk =
RECORD
ckID: ID; {'COMM'}
ckSize: LongInt; {size of chunk data}
numChannels: Integer; {number of channels}
numSampleFrames: LongInt; {number of sample frames}
sampleSize: Integer; {number of bits per sample}
sampleRate: Extended; {number of frames per second}
compressionType: ID; {compression type ID}
compressionName: PACKED ARRAY[0..0] OF Byte;
{compression type name}
END;
CONST
NoneType = 'NONE';
ACE2Type = 'ACE2';
ACE8Type = 'ACE8';
MACE3Type = 'MAC3';
MACE6Type = 'MAC6';
CONST
NoneName = 'not compressed';
ACE2to1Name = 'ACE 2-to-1';
ACE8to3Name = 'ACE 8-to-3';
MACE3to1Name = 'MACE 3-to-1';
MACE6to1Name = 'MACE 6-to-1';
| Previous | Chapter contents | Chapter top | Section top | Next |